<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>CZPlayer: LrcDemo类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CZPlayer
   &#160;<span id="projectnumber">3.0.0</span>
   </div>
   <div id="projectbrief">CZPlayer应用程序</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>宏定义</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="class_lrc_demo-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">LrcDemo类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_lrc_demo_8h_source.html">LrcDemo.h</a>&gt;</code></p>
<div class="dynheader">
类 LrcDemo 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_lrc_demo.png" usemap="#LrcDemo_map" alt=""/>
  <map id="LrcDemo_map" name="LrcDemo_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a6300c91fbff10da3fb38c5194657ebcd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lrc_demo.html#a6300c91fbff10da3fb38c5194657ebcd">LrcDemo</a> (QWidget *parent=NULL)</td></tr>
<tr class="separator:a6300c91fbff10da3fb38c5194657ebcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdfedf35d9603d547b2962056b257e40"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lrc_demo.html#afdfedf35d9603d547b2962056b257e40">~LrcDemo</a> ()</td></tr>
<tr class="separator:afdfedf35d9603d547b2962056b257e40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3482c4ed6a8760afaf3b30d1d7dc3e9c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lrc_demo.html#a3482c4ed6a8760afaf3b30d1d7dc3e9c">setFontName</a> (const QString &amp;fontName)</td></tr>
<tr class="separator:a3482c4ed6a8760afaf3b30d1d7dc3e9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc6916ad2b9fc626accd2e8b2e836e25"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lrc_demo.html#abc6916ad2b9fc626accd2e8b2e836e25">setFontSize</a> (const QString &amp;fontSize)</td></tr>
<tr class="separator:abc6916ad2b9fc626accd2e8b2e836e25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acac5ca74450a5db8eb48ac3df9942c68"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lrc_demo.html#acac5ca74450a5db8eb48ac3df9942c68">setFontType</a> (const QString &amp;fontType)</td></tr>
<tr class="separator:acac5ca74450a5db8eb48ac3df9942c68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58b10ce6a71500397688886945da376b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lrc_demo.html#a58b10ce6a71500397688886945da376b">setLinearGradient</a> (const QColor &amp;color)</td></tr>
<tr class="separator:a58b10ce6a71500397688886945da376b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a217f59ab101d973d37e08f7f442c4f33"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lrc_demo.html#a217f59ab101d973d37e08f7f442c4f33">setLinearGradient2</a> (const QColor &amp;color)</td></tr>
<tr class="separator:a217f59ab101d973d37e08f7f442c4f33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad42dc5427033498bb6ba268ebbcb3d39"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lrc_demo.html#ad42dc5427033498bb6ba268ebbcb3d39">setLinearGradient3</a> (const QColor &amp;color)</td></tr>
<tr class="separator:ad42dc5427033498bb6ba268ebbcb3d39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfdd9a01fb1dabae9a9480e6aff24547"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lrc_demo.html#abfdd9a01fb1dabae9a9480e6aff24547">setMaskLinearGradient</a> (const QColor &amp;color)</td></tr>
<tr class="separator:abfdd9a01fb1dabae9a9480e6aff24547"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dc0574812a61f3e0bb5eebfd3e2ffcc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lrc_demo.html#a7dc0574812a61f3e0bb5eebfd3e2ffcc">setMaskLinearGradient2</a> (const QColor &amp;color)</td></tr>
<tr class="separator:a7dc0574812a61f3e0bb5eebfd3e2ffcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f7bc1df5f6de7fd4e7a3b107a7a3a35"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lrc_demo.html#a9f7bc1df5f6de7fd4e7a3b107a7a3a35">setMaskLinearGradient3</a> (const QColor &amp;color)</td></tr>
<tr class="separator:a9f7bc1df5f6de7fd4e7a3b107a7a3a35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46d3eec6eeeefb37564dc4edb9c3a889"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lrc_demo.html#a46d3eec6eeeefb37564dc4edb9c3a889">setLrcDemoShadow</a> (const int &amp;shadow)</td></tr>
<tr class="separator:a46d3eec6eeeefb37564dc4edb9c3a889"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a8ac7a9d315d4d114fb2fa214ce94a16b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lrc_demo.html#a8ac7a9d315d4d114fb2fa214ce94a16b">paintEvent</a> (QPaintEvent *event)</td></tr>
<tr class="separator:a8ac7a9d315d4d114fb2fa214ce94a16b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>歌词模板 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="a6300c91fbff10da3fb38c5194657ebcd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LrcDemo::LrcDemo </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>NULL</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>构造函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父窗口指针，默认为NULL </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afdfedf35d9603d547b2962056b257e40"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LrcDemo::~LrcDemo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>析构函数. </p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a8ac7a9d315d4d114fb2fa214ce94a16b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void LrcDemo::paintEvent </td>
          <td>(</td>
          <td class="paramtype">QPaintEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>虚函数，重新实现paintEvent函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>QPaintEvent类型 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3482c4ed6a8760afaf3b30d1d7dc3e9c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LrcDemo::setFontName </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>fontName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置歌词字体 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontName</td><td>字体名称 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abc6916ad2b9fc626accd2e8b2e836e25"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LrcDemo::setFontSize </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>fontSize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置歌词字体大小 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontSize</td><td>字体大小 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acac5ca74450a5db8eb48ac3df9942c68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LrcDemo::setFontType </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>fontType</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置歌词类型 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontType</td><td>歌词类型 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a58b10ce6a71500397688886945da376b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LrcDemo::setLinearGradient </td>
          <td>(</td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置歌词没有播放上边缘颜色 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">color</td><td>颜色 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a217f59ab101d973d37e08f7f442c4f33"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LrcDemo::setLinearGradient2 </td>
          <td>(</td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置歌词没有播放中间颜色 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">color</td><td>颜色 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad42dc5427033498bb6ba268ebbcb3d39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LrcDemo::setLinearGradient3 </td>
          <td>(</td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置歌词没有播放下边缘颜色 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">color</td><td>颜色 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a46d3eec6eeeefb37564dc4edb9c3a889"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LrcDemo::setLrcDemoShadow </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&#160;</td>
          <td class="paramname"><em>shadow</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置歌词灰度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">shadow</td><td>灰度 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abfdd9a01fb1dabae9a9480e6aff24547"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LrcDemo::setMaskLinearGradient </td>
          <td>(</td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置歌词播放后上边缘颜色 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">color</td><td>颜色 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7dc0574812a61f3e0bb5eebfd3e2ffcc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LrcDemo::setMaskLinearGradient2 </td>
          <td>(</td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置歌词播放后中间颜色 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">color</td><td>颜色 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9f7bc1df5f6de7fd4e7a3b107a7a3a35"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LrcDemo::setMaskLinearGradient3 </td>
          <td>(</td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置歌词播放后下边缘颜色 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">color</td><td>颜色 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<HR style="FILTER: alpha(opacity=100,finishopacity=0,style=3)" width="100%" color=#000000 SIZE=3>
<table width="100%">
<tr>
        <td align="center">
                <a href="http://www.qtcn.org/bbs/read-htm-tid-55824.html"> <img style="height:40px;" src="CZPlayer.png"> </img> </a>
        </td>
</tr>
<tr>
        <td align="center">
                Copyright (C) 2012-2015 Highway-9 Studio.
        </td>
</tr>
